home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
comm
/
cnet
/
seccheck.lha
/
Sec.REXX
< prev
Wrap
OS/2 REXX Batch file
|
1994-09-09
|
642b
|
31 lines
/* Security Check v1.01 */
options results
tr='transmit';cr='center';ss='sendstring';gs='getuser';pr='prompt'
cchance = 30 /* Chance in % that the user wil be checked */
kc= cchance / 5
dv = random(1,20,time(s))
if dv >= kc then signal quit
gs 9;voice=result
check=right(voice,4)
tr 'f1'
tr 'c2SecurityCheck v1.01 by Wolverine '
tr ''
pr 4 hide '"Enter the four(c14c2) last digits of your c1VOICEc2number : "'
ans=result
if ans = check then signal QUIT
WRONG:
tr''
tr 'Wrong number...please call back and try again.....'
logentry 'c5Failed the SecurityChech'
DROPCARRIER
exit
QUIT:
logentry 'c4Cleared in a SecurityCheck'
exit